home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / about.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1998-07-20  |  609 b   |  42 lines

  1. unit About;
  2.  
  3. interface
  4.  
  5. uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     ProgramIcon: TImage;
  12.     ProductName: TLabel;
  13.     Version: TLabel;
  14.     OKButton: TButton;
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. procedure ShowAboutBox;
  22.  
  23. var
  24.   AboutBox: TAboutBox;
  25.  
  26. implementation
  27.  
  28. {$R *.DFM}
  29.  
  30. procedure ShowAboutBox;
  31. begin
  32.   with TAboutBox.Create(Application) do
  33.     try
  34.       ShowModal;
  35.     finally
  36.       Free;
  37.     end;
  38. end;
  39.  
  40. end.
  41.  
  42.